<template>
    <div class="life">
        <Header/>
        <div class="life-inner">
            <router-view/>
        </div>
        <Bb/>
        <a href="Details">点击到详情</a>
    </div>
    
</template>

<script>
import Header from "com/Life/Header.vue"
export default {
  components: { Header },
    name: "Life",
    mounted(){
        this.$store.dispatch("axiosxcc",{url:"http://1.116.51.111:8000/life/show/"})
    }
}
</script>

<style scoped>
    .life{
        background-color: #f3f3f3;
    }
</style>